package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;
/**
 *@Description 设备类型pojo类
 *@Author louk
 *@Date 14:05 2019/12/10
*/
public class DeviceType extends BasePojo {
    /**
     * 设备类型id
     */
    private Integer deviceTypeId;
    /**
     * 设备类型编码
     */
    private String deviceTypeCode;
    /**
     * 设备类型名称
     */
    private String deviceTypeName;
    /**
     * 设备类型父id
     */
    private Integer deviceTypePid;
    /**
     * 创建日期
     */
    private Date createDate;
    /**
     * 修改日期
     */
    private Date modifyDate;
    /**
     * 备注
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;
    /**
     *@Description 以上是数据库对应字段,以下是衍生字段
     *@Author louk
     *@Date 14:59 2019/12/10
    */
    //标记
    private Integer flag;

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getDeviceTypeId() {
        return deviceTypeId;
    }

    public void setDeviceTypeId(Integer deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
    }

    public String getDeviceTypeCode() {
        return deviceTypeCode;
    }

    public void setDeviceTypeCode(String deviceTypeCode) {
        this.deviceTypeCode = deviceTypeCode == null ? null : deviceTypeCode.trim().replace(" ","");
    }

    public String getDeviceTypeName() {
        return deviceTypeName;
    }

    public void setDeviceTypeName(String deviceTypeName) {
        this.deviceTypeName = deviceTypeName == null ? null : deviceTypeName.trim().replace(" ","");
    }

    public Integer getDeviceTypePid() {
        return deviceTypePid;
    }

    public void setDeviceTypePid(Integer deviceTypePid) {
        this.deviceTypePid = deviceTypePid;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }
}